package com.qiche.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "wallet_log")
public class WalletLog {
    @Id
    private Integer id;

    /**
     * 商户id
     */
    @Column(name = "merchant_id")
    private Integer merchantId;

    /**
     * 钱包id
     */
    @Column(name = "wallet_id")
    private Integer walletId;

    /**
     * 订单号
     */
    @Column(name = "order_number")
    private String orderNumber;

    /**
     * 审核姓名
     */
    @Column(name = "audit_name")
    private String auditName;

    /**
     * 审核状态-1:审核不通 0:未审核 1:审核通过
     */
    private Integer status;

    /**
     * 交易人账号
     */
    @Column(name = "trade_account")
    private String tradeAccount;

    /**
     * 交易姓名
     */
    @Column(name = "enchashment_name")
    private String enchashmentName;

    /**
     * 交易金额
     */
    private BigDecimal sum;

    /**
     * 剩余金额
     */
    @Column(name = "residue_amount")
    private BigDecimal residueAmount;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取商户id
     *
     * @return merchant_id - 商户id
     */
    public Integer getMerchantId() {
        return merchantId;
    }

    /**
     * 设置商户id
     *
     * @param merchantId 商户id
     */
    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    /**
     * 获取钱包id
     *
     * @return wallet_id - 钱包id
     */
    public Integer getWalletId() {
        return walletId;
    }

    /**
     * 设置钱包id
     *
     * @param walletId 钱包id
     */
    public void setWalletId(Integer walletId) {
        this.walletId = walletId;
    }

    /**
     * 获取订单号
     *
     * @return order_number - 订单号
     */
    public String getOrderNumber() {
        return orderNumber;
    }

    /**
     * 设置订单号
     *
     * @param orderNumber 订单号
     */
    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    /**
     * 获取审核姓名
     *
     * @return audit_name - 审核姓名
     */
    public String getAuditName() {
        return auditName;
    }

    /**
     * 设置审核姓名
     *
     * @param auditName 审核姓名
     */
    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    /**
     * 获取审核状态-1:审核不通 0:未审核 1:审核通过
     *
     * @return status - 审核状态-1:审核不通 0:未审核 1:审核通过
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置审核状态-1:审核不通 0:未审核 1:审核通过
     *
     * @param status 审核状态-1:审核不通 0:未审核 1:审核通过
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取交易人账号
     *
     * @return trade_account - 交易人账号
     */
    public String getTradeAccount() {
        return tradeAccount;
    }

    /**
     * 设置交易人账号
     *
     * @param tradeAccount 交易人账号
     */
    public void setTradeAccount(String tradeAccount) {
        this.tradeAccount = tradeAccount;
    }

    /**
     * 获取交易姓名
     *
     * @return enchashment_name - 交易姓名
     */
    public String getEnchashmentName() {
        return enchashmentName;
    }

    /**
     * 设置交易姓名
     *
     * @param enchashmentName 交易姓名
     */
    public void setEnchashmentName(String enchashmentName) {
        this.enchashmentName = enchashmentName;
    }

    /**
     * 获取交易金额
     *
     * @return sum - 交易金额
     */
    public BigDecimal getSum() {
        return sum;
    }

    /**
     * 设置交易金额
     *
     * @param sum 交易金额
     */
    public void setSum(BigDecimal sum) {
        this.sum = sum;
    }

    /**
     * 获取剩余金额
     *
     * @return residue_amount - 剩余金额
     */
    public BigDecimal getResidueAmount() {
        return residueAmount;
    }

    /**
     * 设置剩余金额
     *
     * @param residueAmount 剩余金额
     */
    public void setResidueAmount(BigDecimal residueAmount) {
        this.residueAmount = residueAmount;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}